package tt.dz.service.middleware;

import java.util.Map;

import tt.dz.entity.base.JsonCommon;
import tt.dz.entity.base.JsonForHardware;
import tt.dz.entity.exception.BizException;
import tt.dz.tcp.socket.MessageFuture;

public interface OmsChargeService {
	public JsonCommon<String> startChargeReturn(Map<String,String> map);
	public JsonCommon<String> stopCharge(Map<String,String> map) throws Exception;
	public JsonCommon<String> stopChargeReturn(Map<String,String> map);
	public MessageFuture startCharge(Map<String, String> map) throws Exception;
	public JsonCommon<String> restartCharger(Map<String, String> map);
	public JsonCommon<String> restartChargerReturn(Map<String, String> map);
	public JsonCommon<String> updateFirmware(Map<String, String> map);
	public JsonCommon<String> ev3c2startChargeReturn(Map<String, String> map) throws Exception;
	public JsonCommon<String> ec3v2stopChargeReturn(Map<String, String> map) throws Exception;
	public JsonCommon<String> ev3c2restartChargerReturn(Map<String, String> map);
	//2.0协议中 	6.8设置/查询电桩参数
	public JsonCommon<String> queryOrSetParam(Map<String, String> map);

}
